package exo2;

/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 14/10/13
 * Time: 16:20
 * To change this template use File | Settings | File Templates.
 */
public abstract class Personnel {

    private int numsec;
    private String nom;
    private String prenom;
    private Departement depAssoc;

    public int getNumsec() {
        return numsec;
    }

    public String getNom() {
        return nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public String toString() {
        return "Nom : " + this.nom +
                ", Prenom : " + this.prenom +
                ", Secu social : " + this.numsec;
    }
}
